<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<head>
	<meta charset="utf-8">
	<title>单页信息编辑</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="/layui/css/layui.css" media="all" />
	<!--<link rel="stylesheet" href="/css/font_eolqem241z66flxr.css" media="all" />-->
    <script type="text/javascript" src="/layui/layui.js"></script>
</head>
<body class="childrenBody">
	<form class="layui-form" style="width:80%;">
        <input type="hidden" class="categoryId" th:value="${category.categoryId}">
		<div class="layui-form-item">
			<label class="layui-form-label">单页标题</label>
			<div class="layui-input-block">
				<input type="text" th:value="${category.name}" class="layui-input name" lay-verify="required" placeholder="网站标题">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">排序</label>
			<div class="layui-input-block">
				<input type="number" th:value="${category.sort}" class="layui-input sort" lay-verify="required" placeholder="排序">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">类别</label>
			<div class="layui-input-inline" style="width:200px">
				<select name="type" class="type">
					<option value="">请选择一个类别</option>
					<option value="1" th:selected="${category.type == '1'}">单页</option>
					<option value="2" th:selected="${category.type == '2'}">普通文章栏目</option>
					<option value="3" th:selected="${category.type == '3'}">图片栏目</option>
				</select>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">单页描述</label>
			<div class="layui-input-block">
				<textarea placeholder="请输入站点描述" th:text="${category.description}" class="layui-textarea description"></textarea>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<button class="layui-btn" lay-submit="" lay-filter="addLinks">立即提交</button>
				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
		    </div>
		</div>
	</form>
	<script type="text/javascript" src="/js/page/singlePageAdd.js"></script>
</body>
</html>